package com.wh.wisdomsite.xbox.st.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.wh.wisdomsite.xbox.st.dao.PurchaseFileMapper;
import com.wh.wisdomsite.xbox.st.entity.PurchaseFile;
import com.wh.wisdomsite.xbox.st.service.IPurchaseFileService;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.io.Serializable;
import java.util.Map;

/**
 * 采购附件serviceImpl
 * @version V1.0
 * @author: 杨世强
 * @Package com.wh.wisdomsite.xbox.st.service.impl
 * @date 2018-12-24 14:43
 * @Copyright 企业版权所有
 * @Company 贵州万华科技有限公司Copyright (c) 2018
 */
@Service("purchaseFileService")
@Transactional(rollbackFor = {Exception.class,RuntimeException.class})
public class PurchaseFileServiceImpl extends ServiceImpl<PurchaseFileMapper,PurchaseFile> implements IPurchaseFileService {

    private static final Log logger = LogFactory.getLog(PurchaseFileServiceImpl.class);
    @Autowired
    private PurchaseFileMapper purchaseFileMapper;

    @Override
    public Map<String, Object> getMapById(Serializable id) {
        return purchaseFileMapper.getMapById(id);
    }
}
